package mini.statement;

import java.util.HashMap;
import java.util.LinkedList;

public class Statement {

	// All temp locations are unique so make it static
	public static int tempCounter = 0;
	
    public Statement(){
    }
    
    public void eval(HashMap hm, LinkedList var){
	
	//return new HashMap();
    }
    
    public String parse(HashMap hm, LinkedList var){
    	return null;
    }

	/**
	 * Generates the unique name for a temp location.
	 * @return
	 */
    public String nextTempLocation() {
    	String var = "loc" + tempCounter;
    	tempCounter++;
    	return var;
    }

}
